#!/bin/bash
for _ip in ${@:2}
do
        echo ${_ip}"执行命令结果"
        timeout 1 telnet ${_ip} $1
        echo -e "\n"
done
